﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin.aspx.cs" Inherits="Admin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Админ</title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align: left">
    
        <asp:Label ID="lblKorisnik" runat="server"></asp:Label>
        &nbsp;<asp:Button ID="btnLogiranje" runat="server" onclick="btnLogiranje_Click" 
            Text="Логирај се" Visible="False" />
        &nbsp;<asp:Button ID="btnOdlogiranje" runat="server" onclick="btnOdlogiranje_Click" 
            Text="Одлогирај се" Visible="False" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    
        <asp:DropDownList ID="DropDownList1" runat="server" 
            onselectedindexchanged="DropDownList1_SelectedIndexChanged" 
            style="height: 22px">
            <asp:ListItem>Облеки за мажи</asp:ListItem>
            <asp:ListItem>Облеки за жени</asp:ListItem>
            <asp:ListItem>Корисници</asp:ListItem>
            <asp:ListItem>Инфо</asp:ListItem>
        </asp:DropDownList>
&nbsp;
        <asp:Button ID="btnPrikazi" runat="server" onclick="btnPrikazi_Click" 
            Text="Прикажи" />
        <br />
        <br />
        <table class="style1" 
            style="font-family: 'Courier New', Courier, monospace; border: medium inset #808080">
            <tr>
                <td>
                    <asp:FormView ID="FormView1" runat="server" BackColor="#CCCCCC" 
                        BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" 
                        CellSpacing="2" DataKeyNames="broj" DataSourceID="Klienti" ForeColor="Black" 
                        GridLines="Both" Visible="False" style="text-align: left">
                        <EditItemTemplate>
                            broj:
                            <asp:Label ID="brojLabel1" runat="server" Text='<%# Eval("broj") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            prezime:
                            <asp:TextBox ID="prezimeTextBox" runat="server" Text='<%# Bind("prezime") %>' />
                            <br />
                            karticka:
                            <asp:TextBox ID="kartickaTextBox" runat="server" 
                                Text='<%# Bind("karticka") %>' />
                            <br />
                            mail:
                            <asp:TextBox ID="mailTextBox" runat="server" Text='<%# Bind("mail") %>' />
                            <br />
                            lozinka:
                            <asp:TextBox ID="lozinkaTextBox" runat="server" Text='<%# Bind("lozinka") %>' />
                            <br />
                            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                                CommandName="Update" Text="Update" />
                            &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </EditItemTemplate>
                        <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <InsertItemTemplate>
                            broj:
                            <asp:TextBox ID="brojTextBox" runat="server" Text='<%# Bind("broj") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            prezime:
                            <asp:TextBox ID="prezimeTextBox" runat="server" Text='<%# Bind("prezime") %>' />
                            <br />
                            karticka:
                            <asp:TextBox ID="kartickaTextBox" runat="server" 
                                Text='<%# Bind("karticka") %>' />
                            <br />
                            mail:
                            <asp:TextBox ID="mailTextBox" runat="server" Text='<%# Bind("mail") %>' />
                            <br />
                            lozinka:
                            <asp:TextBox ID="lozinkaTextBox" runat="server" Text='<%# Bind("lozinka") %>' />
                            <br />
                            <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                                CommandName="Insert" Text="Insert" />
                            &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </InsertItemTemplate>
                        <ItemTemplate>
                            broj:
                            <asp:Label ID="brojLabel" runat="server" Text='<%# Eval("broj") %>' />
                            <br />
                            ime:
                            <asp:Label ID="imeLabel" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            prezime:
                            <asp:Label ID="prezimeLabel" runat="server" Text='<%# Bind("prezime") %>' />
                            <br />
                            karticka:
                            <asp:Label ID="kartickaLabel" runat="server" Text='<%# Bind("karticka") %>' />
                            <br />
                            mail:
                            <asp:Label ID="mailLabel" runat="server" Text='<%# Bind("mail") %>' />
                            <br />
                            lozinka:
                            <asp:Label ID="lozinkaLabel" runat="server" Text='<%# Bind("lozinka") %>' />
                            <br />
                            
                            &nbsp;<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" 
                                CommandName="New" Text="Додади" />
                        </ItemTemplate>
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                    </asp:FormView>
                </td>
                <td>
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                        BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" 
                        CellPadding="4" CellSpacing="2" DataKeyNames="broj" DataSourceID="Klienti" 
                        ForeColor="Black" Visible="False">
                        <Columns>
                            <asp:CommandField ShowDeleteButton="True" UpdateText="Зачувај" CancelText="Откажи" DeleteText="Избриши" EditText="Промени" ShowEditButton="True" />
                            <asp:BoundField DataField="broj" HeaderText="broj" ReadOnly="True" 
                                SortExpression="broj" />
                            <asp:BoundField DataField="ime" HeaderText="ime" SortExpression="ime" />
                            <asp:BoundField DataField="prezime" HeaderText="prezime" 
                                SortExpression="prezime" />
                            <asp:BoundField DataField="karticka" HeaderText="karticka" 
                                SortExpression="karticka" />
                            <asp:BoundField DataField="mail" HeaderText="mail" SortExpression="mail" />
                            <asp:BoundField DataField="lozinka" HeaderText="lozinka" 
                                SortExpression="lozinka" />
                        </Columns>
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#808080" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#383838" />
                    </asp:GridView>
                    <asp:SqlDataSource ID="Klienti" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                        DeleteCommand="DELETE FROM [Klient] WHERE [broj] = @broj" 
                        InsertCommand="INSERT INTO [Klient] ([broj], [ime], [prezime], [karticka], [mail], [lozinka]) VALUES (@broj, @ime, @prezime, @karticka, @mail, @lozinka)" 
                        SelectCommand="SELECT * FROM [Klient]" 
                        UpdateCommand="UPDATE [Klient] SET [ime] = @ime, [prezime] = @prezime, [karticka] = @karticka, [mail] = @mail, [lozinka] = @lozinka WHERE [broj] = @broj">
                        <DeleteParameters>
                            <asp:Parameter Name="broj" Type="Int32" />
                        </DeleteParameters>
                        <InsertParameters>
                            <asp:Parameter Name="broj" Type="Int32" />
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="prezime" Type="String" />
                            <asp:Parameter Name="karticka" Type="String" />
                            <asp:Parameter Name="mail" Type="String" />
                            <asp:Parameter Name="lozinka" Type="String" />
                        </InsertParameters>
                        <UpdateParameters>
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="prezime" Type="String" />
                            <asp:Parameter Name="karticka" Type="String" />
                            <asp:Parameter Name="mail" Type="String" />
                            <asp:Parameter Name="lozinka" Type="String" />
                            <asp:Parameter Name="broj" Type="Int32" />
                        </UpdateParameters>
                    </asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:FormView ID="FormView2" runat="server" BackColor="#CCCCCC" 
                        BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" 
                        CellSpacing="2" DataKeyNames="broj" DataSourceID="Info" ForeColor="Black" 
                        GridLines="Both" Visible="False" style="text-align: left">
                        <EditItemTemplate>
                            broj:
                            <asp:Label ID="brojLabel1" runat="server" Text='<%# Eval("broj") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            adresa:
                            <asp:TextBox ID="adresaTextBox" runat="server" Text='<%# Bind("adresa") %>' />
                            <br />
                            telefon:
                            <asp:TextBox ID="telefonTextBox" runat="server" Text='<%# Bind("telefon") %>' />
                            <br />
                            mail:
                            <asp:TextBox ID="mailTextBox" runat="server" Text='<%# Bind("mail") %>' />
                            <br />
                            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                                CommandName="Update" Text="Update" />
                            &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </EditItemTemplate>
                        <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <InsertItemTemplate>
                            broj:
                            <asp:TextBox ID="brojTextBox" runat="server" Text='<%# Bind("broj") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            adresa:
                            <asp:TextBox ID="adresaTextBox" runat="server" Text='<%# Bind("adresa") %>' />
                            <br />
                            telefon:
                            <asp:TextBox ID="telefonTextBox" runat="server" Text='<%# Bind("telefon") %>' />
                            <br />
                            mail:
                            <asp:TextBox ID="mailTextBox" runat="server" Text='<%# Bind("mail") %>' />
                            <br />
                            <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                                CommandName="Insert" Text="Insert" />
                            &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </InsertItemTemplate>
                        <ItemTemplate>
                            broj:
                            <asp:Label ID="brojLabel" runat="server" Text='<%# Eval("broj") %>' />
                            <br />
                            ime:
                            <asp:Label ID="imeLabel" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            adresa:
                            <asp:Label ID="adresaLabel" runat="server" Text='<%# Bind("adresa") %>' />
                            <br />
                            telefon:
                            <asp:Label ID="telefonLabel" runat="server" Text='<%# Bind("telefon") %>' />
                            <br />
                            mail:
                            <asp:Label ID="mailLabel" runat="server" Text='<%# Bind("mail") %>' />
                            <br />
                            
                            &nbsp;<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" 
                                CommandName="New" Text="Додади" />
                        </ItemTemplate>
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                    </asp:FormView>
                </td>
                <td>
                    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
                        BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" 
                        CellPadding="4" CellSpacing="2" DataKeyNames="broj" DataSourceID="Info" 
                        ForeColor="Black" Visible="False">
                        <Columns>
                            <asp:CommandField ShowDeleteButton="True" UpdateText="Зачувај" CancelText="Откажи" DeleteText="Избриши" EditText="Промени" ShowEditButton="True" />
                            <asp:BoundField DataField="broj" HeaderText="broj" ReadOnly="True" 
                                SortExpression="broj" />
                            <asp:BoundField DataField="ime" HeaderText="ime" SortExpression="ime" />
                            <asp:BoundField DataField="adresa" HeaderText="adresa" 
                                SortExpression="adresa" />
                            <asp:BoundField DataField="telefon" HeaderText="telefon" 
                                SortExpression="telefon" />
                            <asp:BoundField DataField="mail" HeaderText="mail" SortExpression="mail" />
                        </Columns>
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#808080" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#383838" />
                    </asp:GridView>
                    <asp:SqlDataSource ID="Info" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                        DeleteCommand="DELETE FROM [Info] WHERE [broj] = @broj" 
                        InsertCommand="INSERT INTO [Info] ([broj], [ime], [adresa], [telefon], [mail]) VALUES (@broj, @ime, @adresa, @telefon, @mail)" 
                        SelectCommand="SELECT * FROM [Info]" 
                        UpdateCommand="UPDATE [Info] SET [ime] = @ime, [adresa] = @adresa, [telefon] = @telefon, [mail] = @mail WHERE [broj] = @broj">
                        <DeleteParameters>
                            <asp:Parameter Name="broj" Type="Int32" />
                        </DeleteParameters>
                        <InsertParameters>
                            <asp:Parameter Name="broj" Type="Int32" />
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="adresa" Type="String" />
                            <asp:Parameter Name="telefon" Type="String" />
                            <asp:Parameter Name="mail" Type="String" />
                        </InsertParameters>
                        <UpdateParameters>
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="adresa" Type="String" />
                            <asp:Parameter Name="telefon" Type="String" />
                            <asp:Parameter Name="mail" Type="String" />
                            <asp:Parameter Name="broj" Type="Int32" />
                        </UpdateParameters>
                    </asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:FormView ID="FormView3" runat="server" BackColor="#CCCCCC" 
                        BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" 
                        CellSpacing="2" DataKeyNames="sifra" DataSourceID="Kosuli" ForeColor="Black" 
                        GridLines="Both" Visible="False" style="text-align: left">
                        <EditItemTemplate>
                            sifra:
                            <asp:Label ID="sifraLabel1" runat="server" Text='<%# Eval("sifra") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:TextBox ID="cenaTextBox" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:TextBox ID="slikaTextBox" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                                CommandName="Update" Text="Update" />
                            &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </EditItemTemplate>
                        <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <InsertItemTemplate>
                            sifra:
                            <asp:TextBox ID="sifraTextBox" runat="server" Text='<%# Bind("sifra") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:TextBox ID="cenaTextBox" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:TextBox ID="slikaTextBox" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                            <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                                CommandName="Insert" Text="Insert" />
                            &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </InsertItemTemplate>
                        <ItemTemplate>
                            sifra:
                            <asp:Label ID="sifraLabel" runat="server" Text='<%# Eval("sifra") %>' />
                            <br />
                            ime:
                            <asp:Label ID="imeLabel" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:Label ID="cenaLabel" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:Label ID="slikaLabel" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                            
                            &nbsp;<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" 
                                CommandName="New" Text="Додади" />
                        </ItemTemplate>
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                    </asp:FormView>
                </td>
                <td>
                    <asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="False" 
                        BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" 
                        CellPadding="4" CellSpacing="2" DataKeyNames="sifra" DataSourceID="Kosuli" 
                        ForeColor="Black" Visible="False">
                        <Columns>
                            <asp:CommandField ShowDeleteButton="True" UpdateText="Зачувај" CancelText="Откажи" DeleteText="Избриши" EditText="Промени" ShowEditButton="True" />
                            <asp:BoundField DataField="sifra" HeaderText="sifra" ReadOnly="True" 
                                SortExpression="sifra" />
                            <asp:BoundField DataField="ime" HeaderText="ime" SortExpression="ime" />
                            <asp:BoundField DataField="cena" HeaderText="cena" SortExpression="cena" />
                            <asp:BoundField DataField="slika" HeaderText="slika" SortExpression="slika" />
                        </Columns>
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#808080" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#383838" />
                    </asp:GridView>
                    <asp:SqlDataSource ID="Kosuli" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                        DeleteCommand="DELETE FROM [Kosuli] WHERE [sifra] = @sifra" 
                        InsertCommand="INSERT INTO [Kosuli] ([sifra], [ime], [cena], [slika]) VALUES (@sifra, @ime, @cena, @slika)" 
                        SelectCommand="SELECT * FROM [Kosuli]" 
                        UpdateCommand="UPDATE [Kosuli] SET [ime] = @ime, [cena] = @cena, [slika] = @slika WHERE [sifra] = @sifra">
                        <DeleteParameters>
                            <asp:Parameter Name="sifra" Type="Int32" />
                        </DeleteParameters>
                        <InsertParameters>
                            <asp:Parameter Name="sifra" Type="Int32" />
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="cena" Type="Int32" />
                            <asp:Parameter Name="slika" Type="String" />
                        </InsertParameters>
                        <UpdateParameters>
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="cena" Type="Int32" />
                            <asp:Parameter Name="slika" Type="String" />
                            <asp:Parameter Name="sifra" Type="Int32" />
                        </UpdateParameters>
                    </asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:FormView ID="FormView4" runat="server" BackColor="#CCCCCC" 
                        BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" 
                        CellSpacing="2" DataKeyNames="sifra" DataSourceID="Odela" ForeColor="Black" 
                        GridLines="Both" Visible="False" style="text-align: left">
                        <EditItemTemplate>
                            sifra:
                            <asp:Label ID="sifraLabel1" runat="server" Text='<%# Eval("sifra") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:TextBox ID="cenaTextBox" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:TextBox ID="slikaTextBox" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                                CommandName="Update" Text="Update" />
                            &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </EditItemTemplate>
                        <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <InsertItemTemplate>
                            sifra:
                            <asp:TextBox ID="sifraTextBox" runat="server" Text='<%# Bind("sifra") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:TextBox ID="cenaTextBox" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:TextBox ID="slikaTextBox" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                            <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                                CommandName="Insert" Text="Insert" />
                            &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </InsertItemTemplate>
                        <ItemTemplate>
                            sifra:
                            <asp:Label ID="sifraLabel" runat="server" Text='<%# Eval("sifra") %>' />
                            <br />
                            ime:
                            <asp:Label ID="imeLabel" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:Label ID="cenaLabel" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:Label ID="slikaLabel" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                           
                            &nbsp;<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" 
                                CommandName="New" Text="Додади" />
                        </ItemTemplate>
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                    </asp:FormView>
                </td>
                <td>
                    <asp:GridView ID="GridView4" runat="server" AutoGenerateColumns="False" 
                        BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" 
                        CellPadding="4" CellSpacing="2" DataKeyNames="sifra" DataSourceID="Odela" 
                        ForeColor="Black" Visible="False">
                        <Columns>
                            <asp:CommandField ShowDeleteButton="True" UpdateText="Зачувај" CancelText="Откажи" DeleteText="Избриши" EditText="Промени" ShowEditButton="True" />
                            <asp:BoundField DataField="sifra" HeaderText="sifra" ReadOnly="True" 
                                SortExpression="sifra" />
                            <asp:BoundField DataField="ime" HeaderText="ime" SortExpression="ime" />
                            <asp:BoundField DataField="cena" HeaderText="cena" SortExpression="cena" />
                            <asp:BoundField DataField="slika" HeaderText="slika" SortExpression="slika" />
                        </Columns>
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#808080" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#383838" />
                    </asp:GridView>
                    <asp:SqlDataSource ID="Odela" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                        DeleteCommand="DELETE FROM [Odela] WHERE [sifra] = @sifra" 
                        InsertCommand="INSERT INTO [Odela] ([sifra], [ime], [cena], [slika]) VALUES (@sifra, @ime, @cena, @slika)" 
                        SelectCommand="SELECT * FROM [Odela]" 
                        UpdateCommand="UPDATE [Odela] SET [ime] = @ime, [cena] = @cena, [slika] = @slika WHERE [sifra] = @sifra">
                        <DeleteParameters>
                            <asp:Parameter Name="sifra" Type="Int32" />
                        </DeleteParameters>
                        <InsertParameters>
                            <asp:Parameter Name="sifra" Type="Int32" />
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="cena" Type="String" />
                            <asp:Parameter Name="slika" Type="String" />
                        </InsertParameters>
                        <UpdateParameters>
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="cena" Type="String" />
                            <asp:Parameter Name="slika" Type="String" />
                            <asp:Parameter Name="sifra" Type="Int32" />
                        </UpdateParameters>
                    </asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:FormView ID="FormView5" runat="server" BackColor="#CCCCCC" 
                        BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" 
                        CellSpacing="2" DataKeyNames="sifra" DataSourceID="Za_maski" ForeColor="Black" 
                        GridLines="Both" Visible="False" style="text-align: left">
                        <EditItemTemplate>
                            sifra:
                            <asp:Label ID="sifraLabel1" runat="server" Text='<%# Eval("sifra") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:TextBox ID="cenaTextBox" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:TextBox ID="slikaTextBox" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                                CommandName="Update" Text="Update" />
                            &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </EditItemTemplate>
                        <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <InsertItemTemplate>
                            sifra:
                            <asp:TextBox ID="sifraTextBox" runat="server" Text='<%# Bind("sifra") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:TextBox ID="cenaTextBox" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:TextBox ID="slikaTextBox" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                            <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                                CommandName="Insert" Text="Insert" />
                            &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </InsertItemTemplate>
                        <ItemTemplate>
                            sifra:
                            <asp:Label ID="sifraLabel" runat="server" Text='<%# Eval("sifra") %>' />
                            <br />
                            ime:
                            <asp:Label ID="imeLabel" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:Label ID="cenaLabel" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:Label ID="slikaLabel" runat="server" Text='<%# Bind("slika") %>' />
                            <br />

                            &nbsp;<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" 
                                CommandName="New" Text="Додади" />
                        </ItemTemplate>
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                    </asp:FormView>
                </td>
                <td>
                    <asp:GridView ID="GridView5" runat="server" AutoGenerateColumns="False" 
                        BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" 
                        CellPadding="4" CellSpacing="2" DataKeyNames="sifra" DataSourceID="Za_maski" 
                        ForeColor="Black" Visible="False">
                        <Columns>
                            <asp:CommandField ShowDeleteButton="True" UpdateText="Зачувај" CancelText="Откажи" DeleteText="Избриши" EditText="Промени" ShowEditButton="True" />
                            <asp:BoundField DataField="sifra" HeaderText="sifra" ReadOnly="True" 
                                SortExpression="sifra" />
                            <asp:BoundField DataField="ime" HeaderText="ime" SortExpression="ime" />
                            <asp:BoundField DataField="cena" HeaderText="cena" SortExpression="cena" />
                            <asp:BoundField DataField="slika" HeaderText="slika" SortExpression="slika" />
                        </Columns>
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#808080" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#383838" />
                    </asp:GridView>
                    <asp:SqlDataSource ID="Za_maski" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                        DeleteCommand="DELETE FROM [Za_maski] WHERE [sifra] = @sifra" 
                        InsertCommand="INSERT INTO [Za_maski] ([sifra], [ime], [cena], [slika]) VALUES (@sifra, @ime, @cena, @slika)" 
                        SelectCommand="SELECT * FROM [Za_maski]" 
                        UpdateCommand="UPDATE [Za_maski] SET [ime] = @ime, [cena] = @cena, [slika] = @slika WHERE [sifra] = @sifra">
                        <DeleteParameters>
                            <asp:Parameter Name="sifra" Type="Int32" />
                        </DeleteParameters>
                        <InsertParameters>
                            <asp:Parameter Name="sifra" Type="Int32" />
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="cena" Type="Int32" />
                            <asp:Parameter Name="slika" Type="String" />
                        </InsertParameters>
                        <UpdateParameters>
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="cena" Type="Int32" />
                            <asp:Parameter Name="slika" Type="String" />
                            <asp:Parameter Name="sifra" Type="Int32" />
                        </UpdateParameters>
                    </asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:FormView ID="FormView6" runat="server" BackColor="#CCCCCC" 
                        BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" 
                        CellSpacing="2" DataKeyNames="sifra" DataSourceID="Pantaloni" ForeColor="Black" 
                        GridLines="Both" Visible="False" style="text-align: left">
                        <EditItemTemplate>
                            sifra:
                            <asp:Label ID="sifraLabel1" runat="server" Text='<%# Eval("sifra") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:TextBox ID="cenaTextBox" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:TextBox ID="slikaTextBox" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                                CommandName="Update" Text="Update" />
                            &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </EditItemTemplate>
                        <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <InsertItemTemplate>
                            sifra:
                            <asp:TextBox ID="sifraTextBox" runat="server" Text='<%# Bind("sifra") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:TextBox ID="cenaTextBox" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:TextBox ID="slikaTextBox" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                            <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                                CommandName="Insert" Text="Insert" />
                            &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </InsertItemTemplate>
                        <ItemTemplate>
                            sifra:
                            <asp:Label ID="sifraLabel" runat="server" Text='<%# Eval("sifra") %>' />
                            <br />
                            ime:
                            <asp:Label ID="imeLabel" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:Label ID="cenaLabel" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:Label ID="slikaLabel" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                          
                            &nbsp;<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" 
                                CommandName="New" Text="Додади" />
                        </ItemTemplate>
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                    </asp:FormView>
                </td>
                <td>
                    <asp:GridView ID="GridView6" runat="server" AutoGenerateColumns="False" 
                        BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" 
                        CellPadding="4" CellSpacing="2" DataKeyNames="sifra" DataSourceID="Pantaloni" 
                        ForeColor="Black" Visible="False">
                        <Columns>
                            <asp:CommandField ShowDeleteButton="True" UpdateText="Зачувај" CancelText="Откажи" DeleteText="Избриши" EditText="Промени" ShowEditButton="True" />
                            <asp:BoundField DataField="sifra" HeaderText="sifra" ReadOnly="True" 
                                SortExpression="sifra" />
                            <asp:BoundField DataField="ime" HeaderText="ime" SortExpression="ime" />
                            <asp:BoundField DataField="cena" HeaderText="cena" SortExpression="cena" />
                            <asp:BoundField DataField="slika" HeaderText="slika" SortExpression="slika" />
                        </Columns>
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#808080" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#383838" />
                    </asp:GridView>
                    <asp:SqlDataSource ID="Pantaloni" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                        DeleteCommand="DELETE FROM [Pantaloni] WHERE [sifra] = @sifra" 
                        InsertCommand="INSERT INTO [Pantaloni] ([sifra], [ime], [cena], [slika]) VALUES (@sifra, @ime, @cena, @slika)" 
                        SelectCommand="SELECT * FROM [Pantaloni]" 
                        UpdateCommand="UPDATE [Pantaloni] SET [ime] = @ime, [cena] = @cena, [slika] = @slika WHERE [sifra] = @sifra">
                        <DeleteParameters>
                            <asp:Parameter Name="sifra" Type="Int32" />
                        </DeleteParameters>
                        <InsertParameters>
                            <asp:Parameter Name="sifra" Type="Int32" />
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="cena" Type="Int32" />
                            <asp:Parameter Name="slika" Type="String" />
                        </InsertParameters>
                        <UpdateParameters>
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="cena" Type="Int32" />
                            <asp:Parameter Name="slika" Type="String" />
                            <asp:Parameter Name="sifra" Type="Int32" />
                        </UpdateParameters>
                    </asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:FormView ID="FormView7" runat="server" BackColor="#CCCCCC" 
                        BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" 
                        CellSpacing="2" DataKeyNames="sifra" DataSourceID="Stikli" ForeColor="Black" 
                        GridLines="Both" Visible="False" style="text-align: left">
                        <EditItemTemplate>
                            sifra:
                            <asp:Label ID="sifraLabel1" runat="server" Text='<%# Eval("sifra") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:TextBox ID="cenaTextBox" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:TextBox ID="slikaTextBox" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                                CommandName="Update" Text="Update" />
                            &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </EditItemTemplate>
                        <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <InsertItemTemplate>
                            sifra:
                            <asp:TextBox ID="sifraTextBox" runat="server" Text='<%# Bind("sifra") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:TextBox ID="cenaTextBox" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:TextBox ID="slikaTextBox" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                            <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                                CommandName="Insert" Text="Insert" />
                            &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </InsertItemTemplate>
                        <ItemTemplate>
                            sifra:
                            <asp:Label ID="sifraLabel" runat="server" Text='<%# Eval("sifra") %>' />
                            <br />
                            ime:
                            <asp:Label ID="imeLabel" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:Label ID="cenaLabel" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:Label ID="slikaLabel" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                        
                            &nbsp;<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" 
                                CommandName="New" Text="Додади" />
                        </ItemTemplate>
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                    </asp:FormView>
                </td>
                <td>
                    <asp:GridView ID="GridView7" runat="server" AutoGenerateColumns="False" 
                        BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" 
                        CellPadding="4" CellSpacing="2" DataKeyNames="sifra" DataSourceID="Stikli" 
                        ForeColor="Black" Visible="False">
                        <Columns>
                            <asp:CommandField ShowDeleteButton="True" UpdateText="Зачувај" CancelText="Откажи" DeleteText="Избриши" EditText="Промени" ShowEditButton="True" />
                            <asp:BoundField DataField="sifra" HeaderText="sifra" ReadOnly="True" 
                                SortExpression="sifra" />
                            <asp:BoundField DataField="ime" HeaderText="ime" SortExpression="ime" />
                            <asp:BoundField DataField="cena" HeaderText="cena" SortExpression="cena" />
                            <asp:BoundField DataField="slika" HeaderText="slika" SortExpression="slika" />
                        </Columns>
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#808080" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#383838" />
                    </asp:GridView>
                    <asp:SqlDataSource ID="Stikli" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                        DeleteCommand="DELETE FROM [Stikli] WHERE [sifra] = @sifra" 
                        InsertCommand="INSERT INTO [Stikli] ([sifra], [ime], [cena], [slika]) VALUES (@sifra, @ime, @cena, @slika)" 
                        SelectCommand="SELECT * FROM [Stikli]" 
                        UpdateCommand="UPDATE [Stikli] SET [ime] = @ime, [cena] = @cena, [slika] = @slika WHERE [sifra] = @sifra">
                        <DeleteParameters>
                            <asp:Parameter Name="sifra" Type="Int32" />
                        </DeleteParameters>
                        <InsertParameters>
                            <asp:Parameter Name="sifra" Type="Int32" />
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="cena" Type="Int32" />
                            <asp:Parameter Name="slika" Type="String" />
                        </InsertParameters>
                        <UpdateParameters>
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="cena" Type="Int32" />
                            <asp:Parameter Name="slika" Type="String" />
                            <asp:Parameter Name="sifra" Type="Int32" />
                        </UpdateParameters>
                    </asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:FormView ID="FormView8" runat="server" BackColor="#CCCCCC" 
                        BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" 
                        CellSpacing="2" DataKeyNames="sifra" DataSourceID="Za_zenski" ForeColor="Black" 
                        GridLines="Both" Visible="False" style="text-align: left">
                        <EditItemTemplate>
                            sifra:
                            <asp:Label ID="sifraLabel1" runat="server" Text='<%# Eval("sifra") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:TextBox ID="cenaTextBox" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:TextBox ID="slikaTextBox" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                                CommandName="Update" Text="Update" />
                            &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </EditItemTemplate>
                        <EditRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <InsertItemTemplate>
                            sifra:
                            <asp:TextBox ID="sifraTextBox" runat="server" Text='<%# Bind("sifra") %>' />
                            <br />
                            ime:
                            <asp:TextBox ID="imeTextBox" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:TextBox ID="cenaTextBox" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:TextBox ID="slikaTextBox" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                            <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                                CommandName="Insert" Text="Insert" />
                            &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" 
                                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                        </InsertItemTemplate>
                        <ItemTemplate>
                            sifra:
                            <asp:Label ID="sifraLabel" runat="server" Text='<%# Eval("sifra") %>' />
                            <br />
                            ime:
                            <asp:Label ID="imeLabel" runat="server" Text='<%# Bind("ime") %>' />
                            <br />
                            cena:
                            <asp:Label ID="cenaLabel" runat="server" Text='<%# Bind("cena") %>' />
                            <br />
                            slika:
                            <asp:Label ID="slikaLabel" runat="server" Text='<%# Bind("slika") %>' />
                            <br />
                          
                            &nbsp;<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" 
                                CommandName="New" Text="Додади" />
                        </ItemTemplate>
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                    </asp:FormView>
                </td>
                <td>
                    <asp:GridView ID="GridView8" runat="server" AutoGenerateColumns="False" 
                        BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px" 
                        CellPadding="4" CellSpacing="2" DataKeyNames="sifra" DataSourceID="Za_zenski" 
                        ForeColor="Black" Visible="False">
                        <Columns>
                            <asp:CommandField ShowDeleteButton="True" UpdateText="Зачувај" CancelText="Откажи" DeleteText="Избриши" EditText="Промени" ShowEditButton="True" />
                            <asp:BoundField DataField="sifra" HeaderText="sifra" ReadOnly="True" 
                                SortExpression="sifra" />
                            <asp:BoundField DataField="ime" HeaderText="ime" SortExpression="ime" />
                            <asp:BoundField DataField="cena" HeaderText="cena" SortExpression="cena" />
                            <asp:BoundField DataField="slika" HeaderText="slika" SortExpression="slika" />
                        </Columns>
                        <FooterStyle BackColor="#CCCCCC" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
                        <RowStyle BackColor="White" />
                        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#808080" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#383838" />
                    </asp:GridView>
                    <asp:SqlDataSource ID="Za_zenski" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                        DeleteCommand="DELETE FROM [Za_zenski] WHERE [sifra] = @sifra" 
                        InsertCommand="INSERT INTO [Za_zenski] ([sifra], [ime], [cena], [slika]) VALUES (@sifra, @ime, @cena, @slika)" 
                        SelectCommand="SELECT * FROM [Za_zenski]" 
                        UpdateCommand="UPDATE [Za_zenski] SET [ime] = @ime, [cena] = @cena, [slika] = @slika WHERE [sifra] = @sifra">
                        <DeleteParameters>
                            <asp:Parameter Name="sifra" Type="Int32" />
                        </DeleteParameters>
                        <InsertParameters>
                            <asp:Parameter Name="sifra" Type="Int32" />
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="cena" Type="Int32" />
                            <asp:Parameter Name="slika" Type="String" />
                        </InsertParameters>
                        <UpdateParameters>
                            <asp:Parameter Name="ime" Type="String" />
                            <asp:Parameter Name="cena" Type="Int32" />
                            <asp:Parameter Name="slika" Type="String" />
                            <asp:Parameter Name="sifra" Type="Int32" />
                        </UpdateParameters>
                    </asp:SqlDataSource>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
